package com.xnyzc.lhy.common.penum;

import com.xnyzc.lhy.common.entity.PEnum;

/**
 * 短信模板类型
 *
 * @Author: scootXin
 * @Date: 2018/12/4 16:34
 */
public enum ESmsType implements PEnum<String> {
    phoneCheck("检测", "SMS_126575535");

    private String desc;
    private String code;

    ESmsType(String desc, String code) {
        this.desc = desc;
        this.code = code;
    }

    @Override
    public String getValue() {
        return name();
    }

    @Override
    public String toString() {
        return name();
    }

    @Override
    public String toChString() {
        return desc;
    }

    public String getCode() {
        return code;
    }
}
